package com.example.cstr.mapper;

import com.example.cstr.entity.EducationTrainClass;
import org.apache.ibatis.annotations.Mapper;import java.util.List;

@Mapper
public interface EducationTrainClassMapper {
    int deleteByPrimaryKey(Integer etcId);

    int insert(EducationTrainClass record);

    int insertSelective(EducationTrainClass record);

    EducationTrainClass selectByPrimaryKey(Integer etcId);

    int updateByPrimaryKeySelective(EducationTrainClass record);

    int updateByPrimaryKey(EducationTrainClass record);

    List<EducationTrainClass> selectAllEducationTrainClass();

    List<EducationTrainClass> selectEtcIdByWorkId(Integer workId);

    List<EducationTrainClass> selectAllByYearId(Integer yearId);
}